package com.mvp.shq.washer.ui.shop.shopAddAddress;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.result.BaseResult;
import com.mvp.shq.washer.entity.shop.AddressData;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2017/10/10.
 */

public interface ShopAddAddressConstract {
    interface Model extends BaseModel{
        Observable<BaseResult<String>> addOrUpdateAddress(String token,String userId,String id,String receiverPhone,String receiverName,String provinceId,
                                                          String provinceName,String cityId,String cityName,String areaId,String areaName,String unitId,
                                                          String unitName,String detailAddress,String status);
    }
    interface View extends BaseView {
        void addOrUpdateAddressS();
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void addOrUpdateAddress(AddressData addressData);
    }
}
